package com.tyao.note.model;

import java.util.Date;

/**
 *   
 *
 *
 * @mbg.generated do_not_delete_during_merge Wed Jul 25 16:22:20 CST 2018
 */
public class TULogin {
    private Long id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 上次登陆ip
     */
    private String lastLoginIp;

    /**
     * 上次登陆时间
     */
    private Date lastLoginTime;

    /**
     * 登陆次数
     */
    private Integer loginNumber;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_u_login.id
     *
     * @return the value of t_u_login.id
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_u_login.id
     *
     * @param id the value for t_u_login.id
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_u_login.user_id
     *
     * @return the value of t_u_login.user_id
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_u_login.user_id
     *
     * @param userId the value for t_u_login.user_id
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_u_login.last_login_ip
     *
     * @return the value of t_u_login.last_login_ip
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public String getLastLoginIp() {
        return lastLoginIp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_u_login.last_login_ip
     *
     * @param lastLoginIp the value for t_u_login.last_login_ip
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp == null ? null : lastLoginIp.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_u_login.last_login_time
     *
     * @return the value of t_u_login.last_login_time
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_u_login.last_login_time
     *
     * @param lastLoginTime the value for t_u_login.last_login_time
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_u_login.login_number
     *
     * @return the value of t_u_login.login_number
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public Integer getLoginNumber() {
        return loginNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_u_login.login_number
     *
     * @param loginNumber the value for t_u_login.login_number
     *
     * @mbg.generated Wed Jul 25 16:22:20 CST 2018
     */
    public void setLoginNumber(Integer loginNumber) {
        this.loginNumber = loginNumber;
    }
}